Hacking For Beginners – Manthan Desai

Linux -

2010

Linux is an operating system which is quickly gaining popularity in mainstream, but not so common that you’re likely tocome across it. Though Mac and Linux are both based on UNIX, it is easier to change the password in Linux than it is OS X.

To change the password, turn on the computer and press the ESC key when GRUB appears. Scroll down and highlight‘Recovery Mode’ and press the ‘B’ key; this will cause you to enter ‘Single User Mode’.

You’re now at the prompt, and logged in as ‘root’ by default. Type ‘passwd’ and then choose a new password . This willchange the root password to whatever you enter. If you’re interested in only gaining access to a single account on thesystem, however, then type ‘passwd username’ replacing ‘username’ with the login name for the account you would liketo alter the password for.

And finally hacking the

Mac -

Finally we take on Mac’s OS X which as we said earlier is based on UNIX and is difficult to change password compared toLinux but nothing is impossible to be hacked.

The easiest method would be to use Ophcrack on this also as it works with Mac and Linux in addition to Windows.However, there are other methods that can be used, as demonstrated below.

If the Mac runs OS X 10.4, then you only need the installation CD. Insert it into the computer, reboot. When it starts up,select UTILITIES > RESET PASSWORD. Choose a new password and then log in.

If the Mac runs OS X 10.5, restart the computer and press COMMAND + at the prompt, type:

fsck -fymount -uw /launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plistdscl . -passwd /Users/UserName newpassword

That’s it. Now that the password is reset, you can login.

“This Tutorial is for educational purpose only please do not hack any computer and their OS andtry to damage their data.

www.hackingtech.co.tv

Page 210